package org.jeecg.modules.business.takestockplan.entity.VO;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 盘盈盘亏单VO
 * @Author: jeecg-boot
 * @Date:   2023-08-09
 * @Version: V1.0
 */
@Data
public class TakeStockResultVO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**盘盈单号*/
    @ApiModelProperty(value = "盘盈单号")
    private String code;
	/**盘点作业编号*/
    @ApiModelProperty(value = "盘点作业编号")
    private String takeStockPlanExecuteCode;
    /**计划盘点日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "计划盘点日期")
    private Date planTime;
    /**盘点日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "盘点日期")
    private Date executeDate;
    /**盘点任务编号*/
    @ApiModelProperty(value = "盘点任务编号")
    private String takeStockPlanCode;
    /**盘点任务名称*/
    @ApiModelProperty(value = "盘点任务名称")
    private String takeStockPlanName;
	/**盘点作业id*/
    @ApiModelProperty(value = "盘点作业id")
    private String wmsTakeStockPlanExecuteId;
    /**盘点仓库*/
    @Dict(dictTable = "wms_basic_warehouse", dicText = "code", dicCode = "id")
    @ApiModelProperty(value = "盘点仓库id")
    private String wmsBasicWarehouse;
    /**库区id*/
    @Dict(dictTable = "wms_basic_warehouse_area", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "盘点库区id")
    private String wmsBasicWarehouseArea;
    /**盘点物料分类id*/
    @Dict(dictTable = "wms_basic_material_type", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "盘点物料分类id")
    private String materialTypeId;
    /**盘点物料id*/
    @Dict(dictTable = "wms_basic_material", dicText = "code", dicCode = "id")
    @ApiModelProperty(value = "盘点物料id")
    private String materialId;
    /**货主类型*/
    @Dict(dicCode = "wms_owner_of_cargo")
    @ApiModelProperty(value = "货主类型")
    private String ownerType;
    /**货主*/
    @ApiModelProperty(value = "货主")
    private String owner;
    /**单据状态*/
    @ApiModelProperty(value = "单据状态")
    @Dict(dicCode = "take_stock_plan_status")
    private String documentStatus;
	/**租户id*/
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**逻辑删除*/
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;
    /**类型*/
    @ApiModelProperty(value = "类型,1 盘盈单, 2 盘亏单")
    private Integer type;
    /**是否盘盈盘亏入库,0 未入库, 1 已入库*/
    @ApiModelProperty(value = "是否盘盈盘亏入库,0 未入库, 1 已入库")
    private String generateFlag;

    /**组织*/
    @ApiModelProperty(value = "组织")
    private String organization;
    /**盘点类型*/
    @Dict(dicCode = "take_stock_type")
    @ApiModelProperty(value = "盘点类型")
    private String takeStockPlanType;
    /**盘点方式*/
    @Dict(dicCode = "wms_take_stock_method")
    @ApiModelProperty(value = "盘点方式")
    private String runType;
    /**盘盈入库单号*/
    @ApiModelProperty(value = "盘盈入库单号")
    private String inReceiptCode;
    /**盘亏出库单号*/
    @ApiModelProperty(value = "盘亏出库单号")
    private String outReceiptCode;
    /**批次号*/
    @ApiModelProperty(value = "批次号")
    private String batchCode;
}
